/*css/styles.css 
 Student Name: e.g, majed hanini
 Student Id: e.g , 12428205 */

 
header {
  color: #21cc11;
  background: #e9e3db;
}



.site-nav {

  padding: 20px 0;
}

.site-nav ul {
  margin: 0px;
  padding: 0px;
  position: relative;
  top: 10px;
}

.site-nav li {
  display: inline-block;
  list-style: none;
  margin-right: 20px;
}


.site-nav li :focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 104, 105, 0.5);
} 

.site-nav a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 500;
  position: relative;
  left: 1050px;
  bottom: 10px;
}

.site-title {
  font-weight: 700;
  color: var(--brand);
  position: absolute;
  top: 10px;
  left: 200px;
  margin: 0px;
  padding: 8px;

}

.hero {
  position: relative;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-align: center;
}

.h1 {
  font-size: 45px;
  font-weight: bold;
  font-weight: 700;
  margin: 0px;
  padding: 0px;

}

.p {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #0b393a;
  border: 1px solid var(--brand);
  background-color: #49a078;
  font-weight: 900;
  border-radius: 15px;
  padding: 3px;
  font-weight: bold;
  margin-bottom: 0px;
}

.p1 {
  font-size: 15px;
  margin-bottom: 10px;
  margin: 10px;
}


.hero-button {
  text-decoration: none;
  color: white;
  background-color: var(--brand-2);
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 16px;


}

.nav1 {

  padding: 20px 0;
}

.nav1 ul {
  margin: 0px;
  padding: 0px;
  position: relative;
  top: 10px;
}

.nav1 li {
  display: inline-block;
  list-style: none;
  margin-right: 20px;
  border: 1px solid black;
  border-radius: 20px;
  padding: 7.5px;
}

.pp {
  color: rgb(160, 153, 153);
  font-weight: 400px;

}

#home {
  background: #e9e3db;
}

#about .box {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
}

.about-text {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 35%;
  height: 300px;
}


.span-container span {

  border: 2px solid rgb(217, 209, 209);
  background-color: white;
  padding: 6px 12px;
  border-radius: 30px;
  position: relative;
  top: 15px;


}

.h1-menu {
  font-size: 30px;
  font-weight: 600px;
  position: relative;
  left: 180px;
}


.menu-nav {

  padding: 20px 0;
}

.menu-nav ul {
  margin: 0px;
  padding: 0px;
  position: relative;
  top: 10px;
}



.menu-nav li {
  display: flex;
  list-style: none;
  margin-right: 20px;
  padding: 7.5px;
}

.container {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 20px;
}

.card-box2 {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px 20px;
  width: 23.5%;
  height: 350px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 45px 0 0 9px;
  margin-top: -20px;


}

.left-text {
  margin-left: 170px;
  margin-top: -30px;
}


.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  margin: 8px 0;
}

.price {
  float: right;
  font-weight: bold;
  color:#216869;
}

.item {
  border-bottom: 1px dashed #e0dada;
  padding-bottom: 30px;
  margin-bottom: 20px;

}

.h11 {
  font-size: 30px;
  font-weight: 500px;
  margin-left: 180px;
  margin-top: 100px;
}

.text {
  font-size: 14px;
  color: rgb(150, 144, 144);

  margin-bottom: -50px;
}

.info-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  top: 90px;

}

.info-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 35%;
  height: 230px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-box h2 {
  font-size: 18px;
  font-weight: bold;
  color: #2e2e2e;
  margin-bottom: 15px;
}

.info-box ul {
  list-style: none;

}

.info-box li {
  margin-bottom: 10px;
  color: hsl(0, 0%, 18%);
  font-weight: 400;
  position: relative;
  bottom: 10px;
}

.hours {
  float: right;
  color: #2e2e2e;
  font-weight: 400;
}


.items {
  border-bottom: 1px dashed #e0dada;
  padding-bottom: 1px;
  margin-bottom: 11px;

}


.info-box p {
  margin-bottom: 10px;
  color: #5a6b5e;
  font-size: 14px;
}

.info-box a {
  color: #5a6b5e;
  text-decoration: none;
}

.info-box a:hover {
  text-decoration: underline;
}

.b {
  font-weight: bold;
  color: rgb(45, 105, 48);
}

.find-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  top: 160px;
}


.find-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 35%;
  height: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.img {
  width: 38%;
  height: 240px;
  border-radius: 12px;
}

.site-footer {
  text-align: center;
  padding: 20px 0;

  position: relative;
  top: 200px;
}
.hero-button:hover {
  background-color: #1e595a;
}
.hero-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 104, 105, 0.5);
} 

html {
  scroll-behavior: smooth;
}

.pfind-row{
  color: rgb(135, 132, 132); 
  position: relative; 
  bottom: 40px;
}

.github{
  text-decoration: none;
}
.hours11{
  font-weight: bolder;
}
:root {
  --bg: #faf7f2;
  --text: hwb(0 12% 88%);
  --muted: #6b6b6b;
  --brand: #216869;
  --brand-2: #49a078;
  --card: #ffffff;
  --border: #e9e3db;
}

body {
  margin: 0;
  font-family: "Rubik", sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  background: #e9e3db;
  line-height: 1.6;
}

@media (max-width: 600px) {
    .site-header {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }

    .site-title {
        order: 1;
        position: static;
        margin-bottom: 10px;
        left: auto;
        padding: 5px;
    }

    .site-nav {
        order: 2;
        padding: 0;
    }

    .site-nav ul {
        padding: 0;
        margin: 0;
        top: 0;
    }

    .site-nav li {
        display: block;
        text-align: center;
        margin: 5px 0 10px 0;
    }

    .site-nav a {
        position: static;
        left: auto;
    }

    .hero-image {
        height: 350px ;
        object-fit: cover;
    }

    .hero-text {
        width: 90%;
        padding: 10px;
    }

    .h1 {
        font-size: 30px;
    }

    .p1 {
        font-size: 14px;
        margin: 10px 0;
    }

    #about .box {
        display: block;
        padding: 20px 10px;
    }

    .about-text {
        width: 90%;
        margin: 10px auto;
        height: auto;
        padding: 15px;
    }

    .span-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        position: static;
        margin-top: 20px;
        justify-content: center;
    }

    .span-container span {
        position: static;
        margin: 5px 0;
        font-size: 13px;
        padding: 8px 15px;
        display: inline-flex;
    }

    .h11 {
        margin-left: 0;
        text-align: center;
        margin-top: 50px;
    }

    .container {
        display: block;
        padding: 10px;
    }

    .card-box2 {
        width: 90%;
        margin: 15px auto;
        height: auto;
    }

    .left-text {
        margin-left: 0;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .info-row,
    .find-row {
        display: block;
        position: static;
        top: 20px;
        padding: 20px 10px;
    }

    .info-box,
    .find-box {
        width: 90%;
        margin: 15px auto;
        height: auto;
    }

    .info-box ul {
        padding: 0;
        margin: 0;
    }
    
    .info-box li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        margin-bottom: 5px;
        position: static;
        bottom: auto;
    }
    
    .hours {
        float: none;
        text-align: right;
    }
    
    .items {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .info-box h2 {
        position: static ;
        left: auto ;
        text-align: center;
    }

    .find-row .img {
        width: 98%;
        height: auto;
        display: block;
        margin: 15px auto;
    }

    .site-footer {
        position: static;
        top: auto;
        padding-top: 40px;
    }

    .pfind-row {
        position: static;
        bottom: auto;
    }
    .text{
      position: relative;
      bottom: 30px ;
      right: 100px;
    }
     .info-box h2{
    position: relative;
    right: 90px;
         }
         .info-box .hours11{
    position: relative;
    right: 130px;
         }

}